Dynomotion

Group: DynoMotion Message: 4215 From: Tom Kerekes Date: 3/13/2012
Subject: Re: Accessing other traditional functions within library l
Hi,
 
KFLOP User programs run inside KFLOP and have no direct access to the PC resources such as Windows, Disk, Keyboard, Display, etc...   So the issue is not really with the compiler but rather some type of server needs to be running on the PC with a handshaking protocol to perform such actions for KFLOP.  The intent for KFLOP User programs was not for this type of purpose.  Although we do currently support one method of writing to disk using fprintf, fopen, fclose.
 
Consider a method where you run a program on the PC to place the data into KFLOP's memory.  See the DownloadWaveform.cpp example.  That example is written in C++ so it requires Visual Studio Standard Edition to modify.  But you should be able to do something similar in VB or C# using the free version of VS Express.
 
Regards
TK

Group: DynoMotion Message: 4216 From: i2trsteele Date: 3/13/2012
Subject: Re: Accessing other traditional functions within library l
TK,

I see what you mean. I figured there wasn't really a way for the KFLOP to know how to request and gather data from the PC. This works for my purposes.

Although, since I am programming this without the controller in front of me, I'll have wait to test.